package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库信息对象 coffee_storage_information
 * 
 * @author Lin
 * @date 2024-02-13
 */
public class CoffeeStorageInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库编号 */
    private Long warehouseId;

    /** 入库单号 */
    private String warehouseEntryNum;

    /** 入库物料名称 */
    @Excel(name = "入库物料名称")
    private String entryName;

    /** 物料是否通过审核 */
    @Excel(name = "物料是否通过审核")
    private String isPassEntrySupplies;

    /** 审核人 */
    @Excel(name = "审核人")
    private String checkMan;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiptsTime;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Long number;

    /** 总价 */
    @Excel(name = "总价")
    private Long total;

    /** 来源庄园 */
    @Excel(name = "来源庄园")
    private String source;

    /** 制单人 */
    @Excel(name = "制单人")
    private String producer;

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseEntryNum(String warehouseEntryNum) 
    {
        this.warehouseEntryNum = warehouseEntryNum;
    }

    public String getWarehouseEntryNum() 
    {
        return warehouseEntryNum;
    }
    public void setEntryName(String entryName) 
    {
        this.entryName = entryName;
    }

    public String getEntryName() 
    {
        return entryName;
    }
    public void setIsPassEntrySupplies(String isPassEntrySupplies) 
    {
        this.isPassEntrySupplies = isPassEntrySupplies;
    }

    public String getIsPassEntrySupplies() 
    {
        return isPassEntrySupplies;
    }
    public void setCheckMan(String checkMan) 
    {
        this.checkMan = checkMan;
    }

    public String getCheckMan() 
    {
        return checkMan;
    }
    public void setReceiptsTime(Date receiptsTime) 
    {
        this.receiptsTime = receiptsTime;
    }

    public Date getReceiptsTime() 
    {
        return receiptsTime;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setProducer(String producer) 
    {
        this.producer = producer;
    }

    public String getProducer() 
    {
        return producer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseEntryNum", getWarehouseEntryNum())
            .append("entryName", getEntryName())
            .append("isPassEntrySupplies", getIsPassEntrySupplies())
            .append("checkMan", getCheckMan())
            .append("receiptsTime", getReceiptsTime())
            .append("businessType", getBusinessType())
            .append("unitPrice", getUnitPrice())
            .append("number", getNumber())
            .append("total", getTotal())
            .append("source", getSource())
            .append("producer", getProducer())
            .append("remark", getRemark())
            .toString();
    }
}
